<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/User.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm()) { %>

        <fieldset>
            <legend><%= Html.ThemeImage("edit_page.png") %> Send Message</legend>

            <dl class="form">
                <dt>To User</dt>
                <dd>
                    <%= Html.TextBox("ToUsername", null) %>
                    <%= Html.ValidationMessage("ToUsername")%>
                </dd>
                
                <dt>Subject</dt>
                <dd>
                    <%= Html.TextBox("Subject") %>
                </dd>
                
                <dt>Message</dt>
                <dd>
                    <%= Html.TextArea("Text", new {cols = "60", rows="10", @class="bbcode"}) %>
                    <%= Html.ValidationMessage("Text")%>        
                </dd>
                
                <dt>&nbsp;</dt>
                <dd>
                    <%= Html.Hidden("MessageDateSent", DateTime.UtcNow) %>
                    <%= Html.SubmitButton("SendMessage", "Send Message") %>
                </dd>
                
            </dl>
        </fieldset>

    <% } %>

</asp:Content>
